# base image
FROM scratch

# maintainer
LABEL maintainer = "reborn.hyingreborn@qq.com"

# set workdir
WORKDIR /etc/golangbuildcase/

# copy files
COPY output/hello.amd64 /etc/golangbuildcase/hello.amd64

# expose & run
EXPOSE 80
ENTRYPOINT  [ "/etc/golangbuildcase/hello.amd64" ]
